interface IProps {
  top?: number;
  bottom?: number;
}

const DivideLine = (props: IProps) => {
  const { top = 0, bottom = 0 } = props;
  return (
    <div
      style={{
        borderBottom: '1px solid #e2e2e2',
        marginTop: `${top}px`,
        marginBottom: `${bottom}px`,
        width: '100%'
      }}
    ></div>
  );
};

export default DivideLine;
